
@import '../../variable.less';


.swiper-item-inner {
  height: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  
  .content-wrap {
    width: 100%;
    height: calc(100% - 220rpx);
    overflow: visible;
    position: relative;
    background-position: bottom center;
    box-sizing: border-box;
    &::-webkit-scrollbar {
      display: none;
    }
    &.flex-center{
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .title {
      font-size: 84rpx;
      text-align: center;
      padding-bottom: 4rpx;
      margin-top: 32rpx;
      word-break: keep-all;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 100rpx;
      
      &.double-line {
        border-bottom: 1rpx solid #ff9d9d;
        &::after {
          content: ' ';
          display: block;
          height: 4rpx;
          background-color: #ff9d9d;
          width: 100%;
          margin-top: 8rpx;
          position: absolute;
        }
      }
    }
    .content {
      width: 100%;
      margin-top: 24rpx;
      font-size: calc(@b-fontsize + 8rpx);
      line-height: 72rpx;
      overflow: visible;
      
      .row{
        white-space: nowrap;
        text-align: justify;
        text-align-last: justify;
        width: 100%;
        &:last-child{
          text-align: left;
          text-align-last:left;
        }
      }
    }
  }

  &.riji {
    margin: auto;
    background-position: top;
    background-image: url(https://wanhuhealth.oss-cn-beijing.aliyuncs.com/static/note-miniProgram/rj-bg.png?v=3);
    font-family: 'rijiti';
    padding: 32rpx;
    box-sizing: border-box;
    background-size: cover;
    .content-wrap{
      .title{
        font-size: 88rpx;
      }
      .content{
        font-size: 72rpx;
      }
    }
  }

  &.shige {
    margin: auto;
    background-repeat: no-repeat;
    background-image: url(https://wanhuhealth.oss-cn-beijing.aliyuncs.com/static/note-miniProgram/sg-bg.png?v=1);
    font-family: 'shigeti';
    padding: 120rpx 64rpx 64rpx;
    box-sizing: border-box;
    background-position: bottom center;
    text-align: center;
    background-size: 115% 100%;
  
    .title {
      font-size: 92rpx;
    }
    .content {
      font-size: 72rpx;
      .con-text {
        text-align: left !important;
      }
      .row{
        
        text-align: center !important;
        text-align-last: center !important;
      }
      
    }
    .bottom-banner {
      width: 536rpx;
      height: 50rpx;
      background-color: #ae141d;
      position: absolute;
      bottom: 0rpx;
      left: 50%;
      transform: translateX(-50%);
      margin-left: 1rpx;
    }
  }
  &.shuxin {
    margin: auto;
    
    background-image: url(https://wanhuhealth.oss-cn-beijing.aliyuncs.com/static/note-miniProgram/shuxin-bg.png?v=1);
    font-family: 'shuxinti';
    padding: 64rpx 64rpx 240rpx;
    box-sizing: border-box;
    position: relative;
    background-size: 100% 100%;
  
    
    .content {
      font-size: @xb-fontsize;
      overflow-y: auto;
      ::-webkit-scrollbar {
        display: none;
      }
    }
    .row {
      margin-top: 8rpx;
      white-space: nowrap;
      overflow: hidden;
      text-align: justify;
      &::after {
        content: ' ';
        width: 100%;
        height: 1rpx;
        background-color: #ff9d9d;
        display: block;
        margin-top: 4rpx;
      }
    }
  }
  &.spring{
    color:#ffe168;
    margin: auto;
    background-position: top;
    padding: 32rpx;
    box-sizing: border-box;
    background-size: cover;
    background-image:none!important;
    font-family: 'chunjieti';
    
  }
}